package zzztest;

public class Test1 {
    public static void main(String[] args) {
        //
        MyArrayList1<String> list=new MyArrayList1<>();
        list.add("aaa");
        list.add("bbb");
        int a=list.size();
        System.out.println(a);
        System.out.println(list.get(0));
        System.out.println(list);
        System.out.println(list.contains("aaa"));
        System.out.println(list.contains("ccc"));

        list.set(2,"ccc");
        System.out.println(list);
        list.remove(1);
        System.out.println(list);
        System.out.println(list.size());
    }
}
